package simplecoder.domain;

import org.apache.commons.lang.StringUtils;

public class Action extends Clazz {

	@Override
	public String getSuffix() {
		return "Action";
	}

	@Override
	public void init() {
		params.put("servicePackName", module.getService().getPackName());
		params.put("serviceName", module.getService().getName());
		params.put("serviceClassName", module.getService().getClassName());
		params.put("serviceInstanceName", StringUtils.uncapitalize(module.getService().getName()));
		
	}

	@Override
	public String getPackName(String pojoPackName) {
		return pojoPackName+".action";
	}

}
